@charset "UTF-8";
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

#header {
  height: 170px;
  min-width: 981px;
  background: url(../images/header-bg.gif) left 30px repeat-x;
  background-color: #ffffff;
  margin-bottom: 0;
}

#header .header-tips {
  width: 981px;
  height: 24px;
  margin: 0 auto;
  padding: 10px 0 10px 16px;
  color: #6b6b6b;
}

#header .header-tips .tips {
  float: left;
}

#header .header-tips .tips a {
  padding: 0 2px;
  color: #367cb4;
}

#header .header-tips .links {
  float: right;
  position: relative;
  padding-left: 110px;
}

#header .header-tips .links .a_count {
  clear: both;
  display: inline-block;
  left: 0;
  top: 0;
  height: 20px;
  padding: 0 10px 0 7px;
  background: url(../images/viewcart.jpg) right 6px no-repeat;
  background-color: #ffffff;
}

#header .header-tips .links .a_count:hover {
  background: url(../images/viewcartup.jpg) right 6px no-repeat;
  border: 1px solid #ccc;
  border-bottom: none;
}

#header .header-tips .links a {
  float: left;
  margin-right: 9px;
  margin-left: 3px;
  color: #6b6b6b;
  text-decoration: none;
}

#header .header-tips .links .links_div {
  width: 67px;
  float: left;
  height: 30px;
  margin-right: 9px;
  margin-left: 3px;
  color: #6b6b6b;
  cursor: pointer;
}

#header .header-tips .links .links_div .click {
  display: none;
  padding: 3px;
  border: 1px solid #EEEEEE;
  z-index: 100;
  position: absolute;
  margin-top: 5px;
  background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#F5F5F5));
}

#header .header-tips .links .links_div .click li {
  display: block;
  height: 30px;
  line-height: 30px;
}

#header .header-tips .links .links_div .click a:hover {
  color: red;
}

#header .header-tips .links .links_div:hover .click {
  display: block;
}

#header .header-main {
  position: relative;
  width: 966px;
  height: 90px;
  padding-left: 15px;
  margin: 0 auto;
  z-index: 99;
}

#header .header-main a {
  float: left;
}

#header .header-main a img {
  margin-top: 10px;
  width: 170px;
  height: 50px;
  background: url(../images/logo.png) no-repeat;
  border: 0;
}

#header .header-main .mian-input {
  position: absolute;
  left: 227px;
  width: 519px;
  height: 59px;
  padding: 7px 9px;
  border: 1px solid #f1f1f1;
  border-radius: 5px;
  color: #b0b0b0;
}

#header .header-main .mian-input input {
  float: left;
  width: 365px;
  padding: 8px;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  color: #bbbcbc;
}

#header .header-main .mian-input button {
  position: absolute;
  right: 10px;
  width: 123px;
  height: 34px;
  background: url(../images/search-btn.gif) no-repeat;
  border: none;
  cursor: pointer;
}

#header .header-main .mian-input p {
  position: absolute;
  bottom: 5px;
  left: 10px;
  width: 454px;
  height: 19px;
  overflow: hidden;
  margin-top: 7px;
}

#header .header-main .mian-input p a {
  padding: 0 8px;
  color: #ea701d;
}

#header .header-main .bookcount {
  border-bottom-color: #f1f1f1;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-image-outset: 0 0 0 0;
  border-image-repeat: stretch stretch;
  border-image-slice: 100% 100% 100% 100%;
  border-image-source: none;
  border-image-width: 1 1 1 1;
  border-left-color: #f1f1f1;
  border-left-style: solid;
  border-left-width: 1px;
  border-right-color: #f1f1f1;
  border-right-style: solid;
  border-right-width: 1px;
  border-top-color: #f1f1f1;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-top-style: solid;
  border-top-width: 1px;
  color: #b0b0b0;
  height: 59px;
  left: 770px;
  padding-bottom: 7px;
  padding-left: 9px;
  padding-right: 9px;
  padding-top: 7px;
  position: absolute;
  width: 190px;
}

#header .header-nav {
  position: relative;
  zoom: 1;
  z-index: 80;
  bottom: 0px;
  left: 0;
  height: 38px;
  min-width: 998px;
  background: url(../images/nav-box.png) repeat-x;
}

#header .header-nav .main-nav {
  position: relative;
  width: 981px;
  margin: 0 auto;
}

#header .header-nav .main-nav .all-categories {
  display: block;
  width: 150px;
  height: 34px;
  line-height: 34px;
  margin-left: 12px;
  font-size: 14px;
  /* font-family: '微软雅黑'; */
  font-weight: bolder;
  color: #ffffff;
  overflow: hidden;
  cursor: pointer;
}

#header .header-nav .main-nav ul {
  position: absolute;
  top: 0;
  left: 230px;
  height: 36px;
}

#header .header-nav .main-nav ul li {
  display: block;
  float: left;
  width: 72px;
}

#header .header-nav .main-nav ul li a {
  display: block;
  height: 34px;
  line-height: 34px;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

#header .header-nav .main-nav ul li a:hover {
  background: #367cb4;
  text-decoration: none;
}

#header .header-nav .main-nav ul .nav-bar {
  display: block;
  width: 2px;
  height: 36px;
  margin-top: -2px;
  background: url(../images/nav-bar.png) 0 2px no-repeat;
}
